package com.xsg.printer.core.conditions;

import java.util.function.Function;

/**
 * @des: 导出模板定义
 * @Author: 高总辉
 * @Date 2019/8/15 17:30
 */
public class SheetCellConfig<T> {
    /**
     * 单元格头名称
     */
    private String headerName;

    /**
     * 单元格取数据函数
     */
    private Function<T, String> bodyFunction;

    public String getHeaderName() {
        return headerName;
    }

    public void setHeaderName(String headerName) {
        this.headerName = headerName;
    }

    public Function<T,String> getBodyFunction() {
        return bodyFunction;
    }

    public void setBodyFunction(Function<T,String> bodyFunction) {
        this.bodyFunction = bodyFunction;
    }
}
